/**
* 
* ====================================================================
*
* @author apov <apov@ymail.com>
*/ 
#pragma once

#include <BaseDefine.h>

class TiXmlElement;
class StateLoader{
public:
	int load( char* file_name );
	
	//err test
	int dummy_load( char* file_name );
	int load_info( TiXmlElement* element, std::string name );

	StateLoader();
	virtual ~StateLoader();

protected:

private:
	int load_sets( TiXmlElement* element );
	int load_state( TiXmlElement* element );
};
